gtk: mark gtk_no_selection_get_model nullable
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Sat, 1 Jan 2022 16:56:07 +0000 (17:56 +0100)
committerBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Sat, 1 Jan 2022 16:56:07 +0000 (17:56 +0100)
The constructor is nullable so should the getter be

gtk/gtknoselection.c

index 7727ccc00b79f286aa9ea810f6a0cb2fbf9aa869..9b48082d6a5c9870d35c0c9b4a40ca07e936483f 100644 (file)
@@ -242,7 +242,7 @@ gtk_no_selection_new (GListModel *model)
  *
  * Gets the model that @self is wrapping.
  *
- * Returns: (transfer none): The model being wrapped
+ * Returns: (transfer none) (nullable): The model being wrapped
  */
 GListModel *
 gtk_no_selection_get_model (GtkNoSelection *self)